@echo off

set message=%~1
if "%message%"=="" (
   set message="init"
)

:: add全部文件
cmd /c call git add .
:: commit
cmd /c call git commit -m "%message%"
:: push到指定仓库
cmd /c call git push origin